Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automock methods returning "impl Future" #229

Merged
merged 1 commit into from
Nov 5, 2020
Merged

Automock methods returning "impl Future" #229

merged 1 commit into from
Nov 5, 2020

Conversation

asomers
Copy link
Owner

@asomers asomers commented Nov 5, 2020

Unlike other traits, these two aren't very useful in a Box. Instead,
Mockall will now change the Expectation's return type to Pin<Box<_>>.

Fixes #220

Unlike other traits, these two aren't very useful in a `Box`.  Instead,
Mockall will now change the Expectation's return type to `Pin<Box<_>>`.

Fixes #220
@asomers asomers merged commit 1e6d98c into master Nov 5, 2020
@asomers asomers deleted the impl_future branch November 5, 2020 03:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Can't automock functions returning impl Future
1 participant